<?xml version="1.0" encoding="utf-8" ?>
<AdoNetDataAccess connection="$ArticleDBConnection$" >
	<Sql>
		UPDATE CompanyMediaLibraries SET isDefault = 0  WHERE  companyId = @companyId AND id &lt;&gt; @id;
		UPDATE CompanyMediaLibraries SET isDefault = 1  WHERE  companyId = @companyId AND id = @id;
	</Sql>
	<Param name="id" type="nvarchar"/>
  <Param name="companyId" type="nvarchar" />
</AdoNetDataAccess>
